HeaderComponent

open class HeaderComponent

This class creates and performs a view corresponding the header area in Sendbird UIKit. since 3.0.0

Constructors

Link copied to clipboard
open fun HeaderComponent()
Constructor since 3.0.
Link copied to clipboard
open fun HeaderComponent(@NonNull params: HeaderComponent.Params)

Types

Link copied to clipboard
open class Params
A collection of parameters, which can be applied to a default View.

Functions

Link copied to clipboard
open fun getRootView(): View
Returns the view created by onCreateView.
Link copied to clipboard
open fun onCreateView(    @NonNull context: Context,     @NonNull inflater: LayoutInflater,     @NonNull parent: ViewGroup,     @Nullable args: Bundle): View
Called after the component was created to make views.
Link copied to clipboard
protected open fun onLeftButtonClicked(@NonNull view: View)
Called when the left button of the header is clicked.
Link copied to clipboard
protected open fun onRightButtonClicked(@NonNull view: View)
Called when the right button of the header is clicked.
Link copied to clipboard
open fun setOnLeftButtonClickListener(@Nullable leftButtonClickListener: View.OnClickListener)
Register a callback to be invoked when the left button of the header is clicked.
Link copied to clipboard
open fun setOnRightButtonClickListener(@Nullable rightButtonClickListener: View.OnClickListener)
Register a callback to be invoked when the right button of the header is clicked.

Properties

Link copied to clipboard
val params: HeaderComponent.Params

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard